package com.csf.habook.auth.service;

import com.csf.fromwork.common.response.Response;
import com.csf.habook.auth.model.vo.user.UpdatePasswordReqVO;
import com.csf.habook.auth.model.vo.user.UserLoginReqVO;
import org.springframework.stereotype.Service;

/**
 * @author sss
 */

public interface AuthService {

    /**
     * 登录与注册
     * @param userLoginReqVO
     * @return
     */
    Response<String> loginAndRegister(UserLoginReqVO userLoginReqVO);

    // 退出操作
    Response<?> logOut();



    /**
     * 修改密码
     * @param updatePasswordReqVO
     * @return
     */
    Response<?> updatePassword(UpdatePasswordReqVO updatePasswordReqVO);
}
